﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WFDefined_StepWiz.aspx.cs"
    Inherits="Runda.CMS.Portal.WorkFlow.WFDefined_StepWiz" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Content/global.css" type="text/css" rel="stylesheet" />

    <script language="javascript" src="../Content/global.js"></script>

    <!-- Menu -->
    <link href="../Content/Menu/Menu.css" type="text/css" rel="stylesheet" />

    <script language="javascript" src="../Content/Menu/menu.js"></script>

    <!-- Form -->
    <link href="../Content/Form/form.css" type="text/css" rel="stylesheet" />

    <script language="javascript" src="/_forms/FormBase.js"></script>

    <!-- Datetime & Number -->

    <script language="javascript" src="../Content/settings.aspx"></script>

    <script language="javascript" src="../Content/DateTime/date.js"></script>

    <script language="javascript" src="../Content/DateTime/time.js"></script>

    <!-- Select -->
    <link href="../Content/Form/select.css" type="text/css" rel="stylesheet" />
    <!-- Lookup -->

    <script language="javascript" src="../Content/lookup/map_Lookup.js"></script>

    <script language="javascript" src="../Content/lookup/map_LookupDialogs.js"></script>

    <!-- Navbar -->
    <link href="../Content/Navigate/nav.css" type="text/css" rel="stylesheet" />

    <script language="javascript" src="../Content/Detail.js"></script>

    <link rel="stylesheet" type="text/css" href="../Content/Grid/mapgrid.css">

    <script language="javascript" src="../Content/Grid/rep_grid.js"></script>

    <!-- Tab -->
    <link href="../Content/Tab/tabs.css" type="text/css" rel="stylesheet" />
    <!-- Utility-->

    <script type="text/javascript" src="WorkFlow.js"></script>

    <script language="javascript" src="../Content/util.js"></script>

</head>
<body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
    <form id="Form1" method="post" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:TextBox ID="ModelID" runat="server" Style="display: none"></asp:TextBox>
    <asp:TextBox ID="ActivityType" runat="server" Style="display: none"></asp:TextBox>
    <table width="100%" cellspacing="0" cellpadding="0" height="100%">
        <tr>
            <td class="header">
            角色:<asp:DropDownList ID="ddlRoles" runat="server"></asp:DropDownList>
                <asp:Button ID="btnQuery" runat="server" Text="查找" CssClass="button" OnClick="btnQuery_Click" />
                备选人员：<br />
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:ListBox ID="employeeChoose" runat="server" 
    SelectionMode="Multiple" Height="400px"
                    Width="250px"></asp:ListBox>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btnAdd" EventName="Click" />
                        <asp:AsyncPostBackTrigger ControlID="btnRemove" EventName="Click" />
                    </Triggers>
                </asp:UpdatePanel>
            </td>
            <td>
                <asp:Button ID="btnAdd" runat="server" Text=">>>" onclick="btnAdd_Click"></asp:Button>
                <br />
                <asp:Button ID="btnRemove" runat="server" Text="<<<" onclick="btnRemove_Click"></asp:Button>
            </td>
            <td>
                选择人员：<br />
                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:ListBox ID="employees" runat="server" 
    SelectionMode="Multiple" Height="400px"
                    Width="250px"></asp:ListBox>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btnAdd" />
                        <asp:AsyncPostBackTrigger ControlID="btnRemove" EventName="Click" />
                    </Triggers>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr height="40">
            <td class="buttons">
                <asp:Button runat="server" ID="btnSave" Text="保存" onclick="btnSave_Click" />
            </td>
        </tr>
    </table>
    
    </form>
</body>
</html>
